package com.gxa.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * (Invoice)实体类
 *
 * @author makejava
 * @since 2020-11-26 16:09:14
 */
@ApiModel(value = "发货单")
public class Invoice implements Serializable {
    private static final long serialVersionUID = -70983901255103792L;
    /**
     * 发货单id(主键)
     */
    @ApiModelProperty(name = "invoiceId",notes = "发货单id(主键)",value = "发货单id(主键)")
    private Integer invoiceId;
    /**
     * 发货单流水号
     */
    @ApiModelProperty(name = "invoiceSernum",notes = "发货单流水号",value = "发货单流水号")
    private String invoiceSernum;
    /**
     * 发货时间
     */
    @ApiModelProperty(name = "invoiceDt",notes = "发货时间",value = "发货时间")
    private Date invoiceDt;
    /**
     * 订单编号
     */
    @ApiModelProperty(name = "invoiceOrdercode",notes = "订单编号",value = "订单编号")
    private String invoiceOrdercode;
    /**
     * 下单时间
     */
    @ApiModelProperty(name = "invoiceOrdertime",notes = "下单时间",value = "下单时间")
    private Date invoiceOrdertime;
    /**
     * 购买用户
     */
    @ApiModelProperty(name = "invoiceBu",notes = "购买用户",value = "购买用户")
    private String invoiceBu;
    /**
     * 配送方式
     */
    @ApiModelProperty(name = "invoiceDm",notes = "配送方式",value = "配送方式")
    private String invoiceDm;
    /**
     * 配送费用
     */
    @ApiModelProperty(name = "invoiceDc",notes = "配送费用",value = "配送费用")
    private Object invoiceDc;
    /**
     * 客户留言
     */
    @ApiModelProperty(name = "invoiceCm",notes = "客户留言",value = "客户留言")
    private String invoiceCm;
    /**
     * 发货单号
     */
    @ApiModelProperty(name = "invoiceIn",notes = "发货单号",value = "发货单号")
    private String invoiceIn;
    /**
     * 商品id(外键)
     */
    @ApiModelProperty(name = "goodsId",notes = "商品id(外键)",value = "商品id(外键)")
    private Integer goodsId;
    /**
     * 会员收货地址id(外键)
     */
    @ApiModelProperty(name = "memLocationid",notes = "会员收货地址id(外键)",value = "会员收货地址id(外键)")
    private Integer memLocationid;
    /**
     * 订单id(外键)
     */
    @ApiModelProperty(name = "orderId",notes = "订单id(外键)",value = "订单id(外键)")
    private Integer orderId;
    /**
     * 发货单操作id(外键)
     */
    @ApiModelProperty(name = "imId",notes = "发货单操作id(外键)",value = "发货单操作id(外键)")
    private Integer imId;
    /**
     * 发货单状态(0:未发货 1:已发货)
     */
    @ApiModelProperty(name = "invoiceStatus",notes = "发货单状态(0:未发货 1:已发货)",value = "发货单状态(0:未发货 1:已发货)")
    private Integer invoiceStatus;
    /**
     * 发货数量
     */
    @ApiModelProperty(name = "invoiceSq",notes = "发货数量",value = "发货数量")
    private Integer invoiceSq;

    private Goods goods;

    private MemLocations memLocations;

    private Order order;

    private Im im;

    public Integer getInvoiceId() {
        return invoiceId;
    }

    public void setInvoiceId(Integer invoiceId) {
        this.invoiceId = invoiceId;
    }

    public String getInvoiceSernum() {
        return invoiceSernum;
    }

    public void setInvoiceSernum(String invoiceSernum) {
        this.invoiceSernum = invoiceSernum;
    }

    public Date getInvoiceDt() {
        return invoiceDt;
    }

    public void setInvoiceDt(Date invoiceDt) {
        this.invoiceDt = invoiceDt;
    }

    public String getInvoiceOrdercode() {
        return invoiceOrdercode;
    }

    public void setInvoiceOrdercode(String invoiceOrdercode) {
        this.invoiceOrdercode = invoiceOrdercode;
    }

    public Date getInvoiceOrdertime() {
        return invoiceOrdertime;
    }

    public void setInvoiceOrdertime(Date invoiceOrdertime) {
        this.invoiceOrdertime = invoiceOrdertime;
    }

    public String getInvoiceBu() {
        return invoiceBu;
    }

    public void setInvoiceBu(String invoiceBu) {
        this.invoiceBu = invoiceBu;
    }

    public String getInvoiceDm() {
        return invoiceDm;
    }

    public void setInvoiceDm(String invoiceDm) {
        this.invoiceDm = invoiceDm;
    }

    public Object getInvoiceDc() {
        return invoiceDc;
    }

    public void setInvoiceDc(Object invoiceDc) {
        this.invoiceDc = invoiceDc;
    }

    public String getInvoiceCm() {
        return invoiceCm;
    }

    public void setInvoiceCm(String invoiceCm) {
        this.invoiceCm = invoiceCm;
    }

    public String getInvoiceIn() {
        return invoiceIn;
    }

    public void setInvoiceIn(String invoiceIn) {
        this.invoiceIn = invoiceIn;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public Integer getMemLocationid() {
        return memLocationid;
    }

    public void setMemLocationid(Integer memLocationid) {
        this.memLocationid = memLocationid;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getInvoiceStatus() {
        return invoiceStatus;
    }

    public void setInvoiceStatus(Integer invoiceStatus) {
        this.invoiceStatus = invoiceStatus;
    }

    public Goods getGoods() {
        return goods;
    }

    public void setGoods(Goods goods) {
        this.goods = goods;
    }

    public MemLocations getMemLocations() {
        return memLocations;
    }

    public void setMemLocations(MemLocations memLocations) {
        this.memLocations = memLocations;
    }

    public Order getOrder() {
        return order;
    }

    public void setOrder(Order order) {
        this.order = order;
    }

    public Integer getInvoiceSq() {
        return invoiceSq;
    }

    public void setInvoiceSq(Integer invoiceSq) {
        this.invoiceSq = invoiceSq;
    }

    public Integer getImId() {
        return imId;
    }

    public void setImId(Integer imId) {
        this.imId = imId;
    }

    public Im getIm() {
        return im;
    }

    public void setIm(Im im) {
        this.im = im;
    }

    @Override
    public String toString() {
        return "Invoice{" +
                "invoiceId=" + invoiceId +
                ", invoiceSernum='" + invoiceSernum + '\'' +
                ", invoiceDt=" + invoiceDt +
                ", invoiceOrdercode='" + invoiceOrdercode + '\'' +
                ", invoiceOrdertime=" + invoiceOrdertime +
                ", invoiceBu='" + invoiceBu + '\'' +
                ", invoiceDm='" + invoiceDm + '\'' +
                ", invoiceDc=" + invoiceDc +
                ", invoiceCm='" + invoiceCm + '\'' +
                ", invoiceIn='" + invoiceIn + '\'' +
                ", goodsId=" + goodsId +
                ", memLocationid=" + memLocationid +
                ", orderId=" + orderId +
                '}';
    }
}